package gentle.service;


import com.baomidou.mybatisplus.plugins.Page;
import gentle.entity.CustomerInfo;
import gentle.entity.SearchCustomerInfo;
import org.springframework.web.bind.annotation.RequestParam;

import javax.servlet.http.HttpServletResponse;
import javax.validation.Valid;
import java.util.HashMap;
import java.util.List;

/**
 *
 *种植俱乐部
 */
public interface IOrthodonticsService {
    List<CustomerInfo> selectPageListByQueryGetMap(Page<CustomerInfo> page, SearchCustomerInfo info);

    int getQueryPagesCount(Page<CustomerInfo> page, SearchCustomerInfo info);

    HashMap sumorthodonticsDetail(@RequestParam(required = false) String reach, @RequestParam(required = false) String customerStatus, @RequestParam(required = false) String outpatientName,
                                  @RequestParam(required = false) String fieldTc, @RequestParam(required = false) String startTime, @RequestParam(required = false) String endTime);

    void orthodonticsDetailExport(@Valid SearchCustomerInfo searchInfo, HttpServletResponse response);

    int updateDoctorOrthodontics(String id, String doctor, String remarks);
}